package com.indexingsystem.boss.entity;

import java.io.Serializable;

/**
 * 报刊资源信息
 * @author Administrator
 *
 */
public class ResourceYearInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String resId;
	
	private String resName;
	
	private String thumbnail;
	
	private String publishDate;
	
	private Integer month;
	
	private Integer year;	
	
	private Integer periodOfTime;

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}	

	public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}	

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getPeriodOfTime()
    {
        return periodOfTime;
    }

    public void setPeriodOfTime(Integer periodOfTime)
    {
        this.periodOfTime = periodOfTime;
    }


	@Override
    public String toString()
    {
        return "ResourceYearInfo [resId=" + resId + ", resName=" + resName + ", thumbnail="
               + thumbnail + ", publishDate=" + publishDate + ", month=" + month + ", year="
               + year + ", periodOfTime=" + periodOfTime + "]";
    }

    public ResourceYearInfo(String resId, String resName, String thumbnail,
			String publishDate, Integer month, Integer year) {
		super();
		this.resId = resId;
		this.resName = resName;
		this.thumbnail = thumbnail;
		this.publishDate = publishDate;
		this.month = month;
		this.year = year;
	}
	

	public ResourceYearInfo(String resId, String resName, String thumbnail, String publishDate,
                            Integer month, Integer year, Integer periodOfTime)
    {
        super();
        this.resId = resId;
        this.resName = resName;
        this.thumbnail = thumbnail;
        this.publishDate = publishDate;
        this.month = month;
        this.year = year;
        this.periodOfTime = periodOfTime;
    }

    public ResourceYearInfo() {
		super();
	}
}